/**
 * 
 */
package com.wilmar.process.dao.impl;

import java.util.List;
import java.util.Set;

import org.jbpm.api.history.HistoryProcessInstance;

import com.wilmar.process.dao.api.IHistoryProcessInstanceQueryDAO;
import com.wilmar.process.enumerate.EnumSystemQueryNameSet;

/**
 * @author Administrator
 * 
 */
public class HistoryProcessInstanceQueryDAOImpl extends
		BaseDAOImpl<HistoryProcessInstance, String> implements
		IHistoryProcessInstanceQueryDAO {

	public List<HistoryProcessInstance> getListByProcessInstanceId(
			Set<String> piidSet) {
		return super
				.getListByNamedQueryAndNamedParam(
						EnumSystemQueryNameSet.PROCESS_SYSTEM_QUERY_NAME_HISTORYPROCESSINSTANCE_GETLISTBYPIIDSET,
						"processInstanceIds", piidSet);
	}
}
